package pl.s7n.paint.commands;

import java.awt.image.BufferedImage;

public class ResizeCmd {
  BufferedImage oldImage;
  BufferedImage newImage;

  public ResizeCmd(BufferedImage oldImage, BufferedImage newImage) {
    this.oldImage = oldImage;
    this.newImage = newImage;
  }

  @Override
  public String toString() {
    return "resize";
  }

  public BufferedImage getOldImage() {
    return oldImage;
  }

  public void setOldImage(BufferedImage oldImage) {
    this.oldImage = oldImage;
  }

  public BufferedImage getNewImage() {
    return newImage;
  }

  public void setNewImage(BufferedImage newImage) {
    this.newImage = newImage;
  }

}
